package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.pojo.Comment;
import cn.tedu.mybatis.pojo.CommentVO1;
import cn.tedu.mybatis.pojo.CommentVO2;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CommentMapper {
    int insert(Comment comment);
    int delete(Integer id);
    int update(Comment comment);
    CommentVO1 selectBYId1(Integer id);
    CommentVO2 selectById2(Integer id);
    List<Comment> selectAll(Integer id);
}
